module('luaconfig')
objects.SkeletonWarrior = {
    class = 'SkeletonWarrior',
    config = {
       -- bow = 0  --  近战
       -- bow = 1  --  远程
       name = 'SkeletonWarrior',
       hexSize = 1,
       canFly = 0,
       shots = 0,
       bow = 0,
       slot = 0,
       maxhp = 6,
       hp = 6,
       maxattack = 6,
       attack = 6,
       maxdamage = 3,
       mindamage = 1,
       defense = 6,
       speed =5,
    },
}

objects.Zombie = {
        class = 'Zombie',
        config = {
            -- bow = 0  --  近战
            -- bow = 1  --  远程
			name = 'Zombie',
	        hexsize = 1,
            canFly = 0,
			shots = 0,
            bow = 0,
            slot = 0,
            maxhp = 20,
            hp = 20,
            maxattack = 5,
            attack = 5,
            maxdamage = 3,
            mindamage = 2,
            defense = 5,
            speed = 4,
        },
}

objects.Wraith = {
        class = 'Wraith',
        config = {
            -- bow = 0  --  近战
            -- bow = 1  --  远程
			name = 'Wraith',
	        hexsize = 1,
            canFly = 1,
			shots = 0,
            bow = 0,
            slot = 0,
            maxhp = 18,
            hp = 18,
            maxattack = 7,
            attack = 7,
            maxdamage = 5,
            mindamage = 3,
            defense = 7,
            speed = 7,
        },
}

objects.Nosferatu = {
        class = 'Nosferatu',
        config = {
            -- bow = 0  --  近战
            -- bow = 1  --  远程
			name = 'Nosferatu',
	        hexsize = 1,
            canFly = 1,
			shots = 0,
            bow = 0,
            slot = 0,
            maxhp = 40,
            hp = 40,
            maxattack = 10,
            attack = 10,
            maxdamage = 8,
            mindamage = 5,
            defense = 10,
            speed = 9,
        },
}

objects.PowerLich = {
        class = 'PowerLich',
        config = {
            -- bow = 0  --  近战
            -- bow = 1  --  远程
			name = 'PowerLich',
	        hexsize = 1,
            canFly = 0,
			shots = 0,
            bow = 0,
            slot = 24,
            maxhp = 40,
            hp = 40,
            maxattack = 13,
            attack = 13,
            maxdamage = 15,
            mindamage = 11,
            defense = 10,
            speed = 7,
        },
}

objects.DreadKnight = {
        class = 'DreadKnight',
        config = {
        -- bow = 0  --  近战
        -- bow = 1  --  远程
		name = 'DreadKnight',
		hexsize = 2,
		canFly = 0,
		shots = 0,
        bow = 0,
        slot = 0,
        maxhp = 120,
        hp = 120,
        maxattack = 18,
        attack = 18,
        maxdamage = 30,
        mindamage = 15,
        defense = 18,
        speed = 9,
    },
}

objects.GhostDragon = {
        class = 'GhostDragon',
        config = {
        -- bow = 0  --  近战
        -- bow = 1  --  远程
		name = 'GhostDragon',
		hexsize = 2,
		canFly = 1,
		shots = 0,
        bow = 0,
        slot = 0,
        maxhp = 200,
        hp = 200,
        maxattack = 19,
        attack = 19,
        maxdamage = 50,
        mindamage = 25,
        defense = 17,
        speed = 14,
    },
}
